package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 房屋产权信息
 对象 tmc_house_info
 *
 * @author ruoyi
 * @date 2021-04-01
 */
public class TmcUserHouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long ownerid;

    /** 所有人手机号 */
    @Excel(name = "所有人手机号")
    private String ownerphone;

    /** 所有人姓名 */
    @Excel(name = "所有人姓名")
    private String ownername;

    /** 0产权，1租赁 */
    @Excel(name = "0产权，1租赁")
    private Long ownertype;

    /** 小区ID */
    @Excel(name = "小区ID")
    private Long companyId;

    /** 所属区域 */
    @Excel(name = "所属区域")
    private Long ownerdis;

    @Excel(name = "所属区域")
    private String ownerdisname;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String companyName;

    /** 所属公司 */
    @Excel(name = "所属公司")
    private Long ownerdapt;
    /** 所属公司 */
    @Excel(name = "所属公司id")
    private String ownerdaptName;

    /** 楼栋名称 */
    @Excel(name = "楼栋名称")
    private String unitname;

    /** 房间号 */
    @Excel(name = "房间号")
    private String housenum;

    /** 面积 */
    @Excel(name = "面积")
    private Double area;

    /** 人数 */
    @Excel(name = "人数")
    private Long personcount;

    private List<TmcHouseBill> tmcHouseBillList;

    public List<TmcHouseBill> getTmcHouseBillList() {
        return tmcHouseBillList;
    }

    public void setTmcHouseBillList(List<TmcHouseBill> tmcHouseBillList) {
        this.tmcHouseBillList = tmcHouseBillList;
    }

    public Long getOwnerid() {
        return ownerid;
    }

    public void setOwnerid(Long ownerid) {
        this.ownerid = ownerid;
    }

    public String getOwnerphone() {
        return ownerphone;
    }

    public void setOwnerphone(String ownerphone) {
        this.ownerphone = ownerphone;
    }

    public String getOwnername() {
        return ownername;
    }

    public void setOwnername(String ownername) {
        this.ownername = ownername;
    }

    public Long getOwnertype() {
        return ownertype;
    }

    public void setOwnertype(Long ownertype) {
        this.ownertype = ownertype;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getOwnerdis() {
        return ownerdis;
    }

    public void setOwnerdis(Long ownerdis) {
        this.ownerdis = ownerdis;
    }

    public String getOwnerdisname() {
        return ownerdisname;
    }

    public void setOwnerdisname(String ownerdisname) {
        this.ownerdisname = ownerdisname;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public Long getOwnerdapt() {
        return ownerdapt;
    }

    public void setOwnerdapt(Long ownerdapt) {
        this.ownerdapt = ownerdapt;
    }

    public String getUnitname() {
        return unitname;
    }

    public void setUnitname(String unitname) {
        this.unitname = unitname;
    }

    public String getHousenum() {
        return housenum;
    }

    public void setHousenum(String housenum) {
        this.housenum = housenum;
    }

    public Double getArea() {
        return area;
    }

    public void setArea(Double area) {
        this.area = area;
    }

    public Long getPersoncount() {
        return personcount;
    }

    public void setPersoncount(Long personcount) {
        this.personcount = personcount;
    }

    public String getOwnerdaptName() {
        return ownerdaptName;
    }

    public void setOwnerdaptName(String ownerdaptName) {
        this.ownerdaptName = ownerdaptName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("ownerphone", getOwnerphone())
                .append("ownername", getOwnername())
                .append("ownertype", getOwnertype())
                .append("companyId", getCompanyId())
                .append("ownerdis", getOwnerdis())
                .append("companyName", getCompanyName())
                .append("ownerdapt", getOwnerdapt())
                .append("unitname", getUnitname())
                .append("housenum", getHousenum())
                .append("area", getArea())
                .append("personcount", getPersoncount())
                .toString();
    }
}